<?php
if (!isset($halaman))
    $halaman = '';
?>
<div class="col-sm-4 col-md-3" id="sidebar">
    <div class="headersidebar">
        <h2>ASSESSMENT <br/>DASHBOARD SYSTEM</h2>
    </div>
    <ul class="nav nav-sidebar" style="margin: 25px; margin-top: 15px;">
        <li <?php if($halaman=='dashboard') echo 'class="active"'?>>
            <a href="<?=base_url();?>dashboard">DASHBOARD</a>
        </li>
        <li <?php if($halaman=='profile') echo 'class="active"'?>>
            <a href="<?=base_url();?>profile">PROFILE</a>
        </li>
        <li <?php if($halaman=='braintest') echo 'class="active"'?>>
            <a href="<?=base_url();?>braintest">BRAINTEST</a>
        </li>
        <li <?php if($halaman=='character') echo 'class="active"'?>>
            <a href="<?=base_url();?>dashboard">CHARACTER BUILDING</a>
        </li>
        <li <?php if($halaman=='chalenge') echo 'class="active"'?>>
            <a href="<?=base_url();?>dashboard">DAILY CHALENGE</a>
        </li>
        <li <?php if($halaman=='nutrision') echo 'class="active"'?>>
            <a href="<?=base_url();?>dashboard">NUTRISION</a>
        </li>
        <li <?php if($halaman=='croom') echo 'class="active"'?>>
            <a href="<?=base_url();?>dashboard">C-ROOM</a>
        </li>
        <li <?php if($halaman=='master') echo 'class="active"'?>>
            <a href="<?=base_url();?>dashboard">MASTER DATA</a>
        </li>
    </ul>
</div>